<?php
header('content-type:text/html;charset=utf-8');


$inpfo = pathinfo($_FILES['name']['name']);

//echo '<pre>';
//print_r($_FILES);
//print_r($inpfo);
die;

$tofile = 'tu/'.time().'.'.$inpfo['extension'];

move_uploaded_file($_FILES['name']['tmp_name'],$tofile);
